.orderList {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow-y: auto;
  background-color: #f1f1f1;
  .navbar {
    width: 100%;
    height: 40px;
    background-color: white;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    .navbar-item {
      flex: 1;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      span {
        width: 100%;
        flex: 1;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      &::after {
        content: "";
        width: 3em;
        height: 4px;
        border-radius: 4px;
        background-color: transparent;
      }
      &.actived {
        &::after {
          background-color: $primary-color;
        }
      }
    }
  }
  .container {
    flex: 1;
    width: 100%;
    overflow-y: auto;
    .order-list {
      width: 100%;
      padding: 0.25rem 0;
      display: flex;
      flex-direction: column;
      .order-item {
        width: 100%;
        background-color: white;
        &:not(:first-child) {
          margin-top: 0.25rem;
        }
        .item-header {
          width: 100%;
          box-sizing: border-box;
          padding: 0.3rem 0.2rem;
          border-bottom: 1px solid #f1f1f1;
          display: flex;
          justify-content: flex-start;
          align-items: center;
          .name {
            flex: 1;
            font-size: 14px;
            font-weight: bold;
          }
          .status {
            height: 20px;
            border-radius: 4px;
            background-color: #bbb;
            line-height: 20px;
            font-size: 12px;
            text-align: center;
            padding: 0 8px;
            color: white;
            &.status0 {
              background-color: rgba(250, 44, 25, 1);
            }
            &.status1 {
              background-color: rgba(38, 191, 38, 1);
            }
          }
        }
        .item-container {
          width: 100%;
          box-sizing: border-box;
          padding: 0.3rem 0.2rem;
          display: flex;
          flex-direction: column;
          .item-row {
            width: 100%;
            padding: 0.2rem 0;
            display: flex;
            justify-content: space-between;
            .row-label {
              flex-shrink: 0;
              margin-right: 10px;
            }
            .row-value {
              text-align: right;
              flex: 1;
            }
          }
        }
        .item-footer {
          width: 100%;
          box-sizing: border-box;
          padding: 0.3rem 0.2rem;
          border-top: 1px solid #f1f1f1;
          display: flex;
          justify-content: space-between;
          align-items: center;
          .label {
            font-size: 14px;
          }
          .btns {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            .btn {
              height: 24px;
              padding: 0 10px;
              text-align: center;
              line-height: 24px;
              border-radius: 5px;
              color: white;
              font-size: 13px;
              background-color: #387ef5;
              &:not(:first-child) {
                margin-left: 5px;
              }
            }
          }
        }
      }
    }
  }
}
